package nc.ui.arap.badacc;

import java.io.Serializable;

import nc.ui.pub.bill.IBillObject;

public class BaseArglthObj implements IBillObject, Serializable {
	
	private String value;

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public BaseArglthObj() {
		super();
	}
	
	public BaseArglthObj(String newvalue) {
		super();
		this.setValue(newvalue);
	}

	public int compareTo(Object bo) {
		if(bo == null)
			return 1;
		return toString().compareTo(bo.toString());
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString(){
		return getValue();
	}

}
